<?php

// this contains the application parameters that can be maintained via GUI
return 	array(
				'urlFormat'=>'path',
				'showScriptName'=>false,
		//		'urlSuffix'=>'.html',
				//'class'=>'application.components.UrlManager',
				'rules'=>array(
						'admin' => 'admin/default/login',
						'admin/<controller>' => 'admin/<controller>',
						'/' => 'site/index',
						'contact-us'=>'site/contact',
						'contact-us/thanks'=>'site/contact',
						'sitemap' => 'site/sitemap',
						'site' => 'site/index',
						'search' => '/site/search',
						'request-a-quote' => '/site/requestQuote',
						'request-a-quote/thanks' => '/site/requestQuote',
						'newsletter-sign-up' => '/site/signup',
						'newsletter-sign-up/thanks' => '/site/signup',
						'admin/media/pdf' => 'admin/media',
						'join-our-reseller-program' => '/site/joinReseller',
						'join-our-reseller-program/thanks' => '/site/joinReseller',
						//'<mainSlug>/<slug>'=>'site/page',
						//'<mainSlug>/<subslug>/<slug>'=>'site/page',
						'<slug>'=>'site/page',
						'<controller:\w+>/<id:\d+>'=>'<controller>/view',
						'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
						'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
						'<module:\w+>/<controller:\w+>/<action:\w+>'=>'<module>/<controller>/<action>'
				),
);